package com.zls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zls.mapper.EmployeeMapper;
import com.zls.pojo.Employee;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface EmployeeService extends IService<Employee> {
    //分页
    PageInfo<Employee> getEmpByPage(Integer pageindex, Integer pagesize);
    int addEmp(Employee employee);
    int editEmp(Employee employee);
    int dropEmpById(Integer id);
    Employee getEmpById(Integer id);
    List<Employee> getAll();
}
